package com.example.springstudy.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
import org.hibernate.annotations.Proxy;

import javax.persistence.*;
import java.math.BigDecimal;


/**
 * bim 项目表
 */
@Entity
@Data
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class DiseaseDetail {
    @Id
    @SequenceGenerator(name = "check_result_id_seq", sequenceName = "check_result_id_seq", allocationSize = 1)
    @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "check_result_id_seq")
    @Column(name = "id")
    private Long id;
    // 巡 检 id
    @Column(name = "[insId]")
    private Long insId;
    //病害id
    @Column(name = "[commonId]")
    private Long commonId;
    //路线id
    @Column(name = "[roadLineId]")
    private Integer roadLineId;
    //路线简称
    @Column(name = "[shorterRoadLineName]")
    private String shorterRoadLineName;
    //系统编号
    @Column(name = "[sysNo]")
    private String sysNo;
    //路段类型
    @Column(name = "[roadSectionType]")
    private String roadSectionType;
    //设施类型
    @Column(name = "[facilityTypeId]")
    private String facilityTypeId;
    //设施类型标识
    @Column(name = "[facilityTypeName]")
    private String facilityTypeName;
    //模块id
    @Column(name = "[mouldId]")
    private Integer mouldId;
    //结构名称id
    @Column(name = "[structId]")
    private Integer structId;
    //结构名称
    @Column(name = "[structName]")
    private String structName;
    //部位id
    @Column(name = "[partStructureId]")
    private Integer partStructureId;
    //部位
    @Column(name = "[partStructureName]")
    private String partStructureName;
    //部件id
    @Column(name = "[partId]")
    private Integer partId;
    //部件名称
    @Column(name = "[partName]")
    private String partName;
    //四级id
    @Column(name = "[diseaseFourId]")
    private Integer diseaseFourId;
    //四级名称
    @Column(name = "[diseaseFourName]")
    private String diseaseFourName;
    //五级id
    @Column(name = "[diseaseFiveId]")
    private Integer diseaseFiveId;
    //五级名称
    @Column(name = "[diseaseFiveName]")
    private String diseaseFiveName;
    //联
    @Column(name = "[jointName]")
    private String jointName;
    //跨
    @Column(name = "[crossName]")
    private String crossName;
    //构件id
    @Column(name = "[compId]")
    private Integer compId;
    //构件名称
    @Column(name = "[compName]")
    private String compName;
    //工程构件编码
    @Column(name = "[compNo]")
    private String compNo;
    //地点
    @Column(name = "[placeName]")
    private String placeName;
    //病害位置
    @Column(name = "[diseasePosition]")
    private String diseasePosition;
    //病害类型
    @Column(name = "[diseaseTypeName]")
    private String diseaseTypeName;
    //病害类型id
    @Column(name = "[diseaseType]")
    private Integer diseaseType;
    //单位
    @Column(name = "[unitName]")
    private String unitName;
    //数量
    @Column(name = "[num]")
    private BigDecimal num;
    //病害图片
    @Column(name = "[beforeRepairImgPath]")
    private String beforeRepairImgPath;
    //病害描述
    @Column(name = "[diseaseRemark]")
    private String diseaseRemark;
    //是否引起事故标识
    @Column(name = "[hasAccident]")
    private String hasAccident;
    //是否引起事故
    @Column(name = "[hasAccidentStr]")
    private String hasAccidentStr;
    //桩号
    @Column(name = "[markNo]")
    private BigDecimal markNo;
    //桩号
    @Column(name = "[markNoStr]")
    private String markNoStr;
    //状态id
    @Column(name = "[state]")
    private Integer state;
    //状态名称
    @Column(name = "[stateName]")
    private String stateName;
    //路段id
    @Column(name = "[coadsectionId]")
    private Integer coadsectionId;
    //当前处理人公司
    @Column(name = "[flowCompanyName]")
    private String flowCompanyName;
    //当前处理人id
    @Column(name = "[flowUserId]")
    private Integer flowUserId;
    //当前处理人
    @Column(name = "[flowUserName]")
    private String flowUserName;
    //报修时间
    @Column(name = "[repairTime]")
    private String repairTime;
    //紧急程度
    @Column(name = "[emergencyDegree]")
    private String emergencyDegree;
    //报修单位
    @Column(name = "[reportUnit]")
    private String reportUnit;
    //经度
    @Column(name = "[latitude]")
    private String latitude;
    //纬度
    @Column(name = "[longitude]")
    private String longitude;
    //高程
    @Column(name = "[bimElevation]")
    private String bimElevation;
}

